package com.qk.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qk.dto.ClueDto;
import com.qk.entity.Clue;
import com.qk.vo.OverviewVo;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface ClueMapper  extends BaseMapper<Clue> {
    /**
     * 1.线索查询列表
     */
    Page<Clue> listClues(Page<Clue> cluePage, ClueDto clueDto);

    /**
     * select clue by id
     */
    Clue getClueById(Integer id);

    /**
     * 8.线索池
     */
    Page<Clue> listPool(Page<Clue> cluePage, ClueDto clueDto);
    /**
     * 首页数据概览
     * Homepage Data Overview
     */
    OverviewVo getClueOverviewData();
}
